

.lf-form-react input[type="text"],
.lf-form-react input[type="password"],
.lf-form-react input[type="email"],
.lf-form-react input[type="url"],
.lf-form-react input[type="date"],
.lf-form-react input[type="month"],
.lf-form-react input[type="time"],
.lf-form-react input[type="datetime"],
.lf-form-react input[type="datetime-local"],
.lf-form-react input[type="week"],
.lf-form-react input[type="number"],
.lf-form-react input[type="search"],
.lf-form-react input[type="tel"],
.lf-form-react input[type="color"],
.lf-form-react select,
.lf-form-react textarea {
    padding: 0.5em 0.6em;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    vertical-align: middle;
    box-sizing: border-box;
    height: 36px;
}

/*
Need to separate out the :not() selector from the rest of the CSS 2.1 selectors
since IE8 won't execute CSS that contains a CSS3 selector.
*/
.lf-form-react input:not([type]) {
    padding: 0.5em 0.6em;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}


/* Chrome (as of v.32/34 on OS X) needs additional room for color to display. */
/* May be able to remove this tweak as color inputs become more standardized across browsers. */
.lf-form-react input[type="color"] {
    padding: 0.2em 0.5em;
}


.lf-form-react input[type="text"]:focus,
.lf-form-react input[type="password"]:focus,
.lf-form-react input[type="email"]:focus,
.lf-form-react input[type="url"]:focus,
.lf-form-react input[type="date"]:focus,
.lf-form-react input[type="month"]:focus,
.lf-form-react input[type="time"]:focus,
.lf-form-react input[type="datetime"]:focus,
.lf-form-react input[type="datetime-local"]:focus,
.lf-form-react input[type="week"]:focus,
.lf-form-react input[type="number"]:focus,
.lf-form-react input[type="search"]:focus,
.lf-form-react input[type="tel"]:focus,
.lf-form-react input[type="color"]:focus,
.lf-form-react select:focus,
.lf-form-react textarea:focus {
    outline: 0;
    border-color: #129FEA;
}

/*
Need to separate out the :not() selector from the rest of the CSS 2.1 selectors
since IE8 won't execute CSS that contains a CSS3 selector.
*/
.lf-form-react input:not([type]):focus {
    outline: 0;
    border-color: #129FEA;
}

.lf-form-react input[type="file"]:focus,
.lf-form-react input[type="radio"]:focus,
.lf-form-react input[type="checkbox"]:focus {
    outline: thin solid #129FEA;
    outline: 1px auto #129FEA;
}
.lf-form-react .lf-form-react-checkbox,
.lf-form-react .lf-form-react-radio {
    //margin: 0.5em 0;
    display: block;
}

.lf-form-react input[type="text"][disabled],
.lf-form-react input[type="password"][disabled],
.lf-form-react input[type="email"][disabled],
.lf-form-react input[type="url"][disabled],
.lf-form-react input[type="date"][disabled],
.lf-form-react input[type="month"][disabled],
.lf-form-react input[type="time"][disabled],
.lf-form-react input[type="datetime"][disabled],
.lf-form-react input[type="datetime-local"][disabled],
.lf-form-react input[type="week"][disabled],
.lf-form-react input[type="number"][disabled],
.lf-form-react input[type="search"][disabled],
.lf-form-react input[type="tel"][disabled],
.lf-form-react input[type="color"][disabled],
.lf-form-react select[disabled],
.lf-form-react textarea[disabled] {
    cursor: not-allowed;
    background-color: #eaeded;
    color: #cad2d3;
}

.lf-form-react input[readonly],
.lf-form-react select[readonly],
.lf-form-react textarea[readonly] {
    background-color: #eee; /* menu hover bg color */
    color: #777; /* menu text color */
    border-color: #ccc;
}

.lf-form-react input:focus:invalid,
.lf-form-react textarea:focus:invalid,
.lf-form-react select:focus:invalid {
    color: #b94a48;
    border-color: #e9322d;
}
.lf-form-react input[type="file"]:focus:invalid:focus,
.lf-form-react input[type="radio"]:focus:invalid:focus,
.lf-form-react input[type="checkbox"]:focus:invalid:focus {
    outline-color: #e9322d;
}
.lf-form-react select {
    /* Normalizes the height; padding is not sufficient. */
    height: 2.25em;
    border: 1px solid #ccc;
    background-color: white;
}
.lf-form-react select[multiple] {
    height: auto;
}
.lf-form-react label {
    //margin: 0.5em 0 0.2em;
    margin: 3px 0px;
}
.lf-form-react fieldset {
    margin: 0;
    padding: 0.35em 0 0.75em;
    border: 0;
}
.lf-form-react legend {
    display: block;
    width: 100%;
    padding: 0.3em 0;
    //margin-bottom: 0.3em;
    //margin
    color: #333;
    border-bottom: 1px solid #e5e5e5;
}

.lf-form-react-stacked input[type="text"],
.lf-form-react-stacked input[type="password"],
.lf-form-react-stacked input[type="email"],
.lf-form-react-stacked input[type="url"],
.lf-form-react-stacked input[type="date"],
.lf-form-react-stacked input[type="month"],
.lf-form-react-stacked input[type="time"],
.lf-form-react-stacked input[type="datetime"],
.lf-form-react-stacked input[type="datetime-local"],
.lf-form-react-stacked input[type="week"],
.lf-form-react-stacked input[type="number"],
.lf-form-react-stacked input[type="search"],
.lf-form-react-stacked input[type="tel"],
.lf-form-react-stacked input[type="color"],
.lf-form-react-stacked input[type="file"],
.lf-form-react-stacked select,
.lf-form-react-stacked label,
.lf-form-react-stacked textarea {
    display: block;
    //margin: 3px 0;
}








.pure-form-aligned input,
.pure-form-aligned textarea,
.pure-form-aligned select,
.pure-form-message-inline {
    display: inline-block;
    vertical-align: middle;
}
.pure-form-aligned textarea {
    vertical-align: top;
}

/* Aligned Forms */
.pure-form-aligned .pure-control-group {
    margin-bottom: 0.5em;
}
.pure-form-aligned .pure-control-group label {
    text-align: right;
    display: inline-block;
    vertical-align: middle;
    width: 10em;
    margin: 0 1em 0 0;
}
.pure-form-aligned .pure-controls {
    margin: 1.5em 0 0 11em;
}



.lf-form-react .lf-form-react-input-1 {
    width: 100%;
}
.lf-form-react .lf-form-react-input-3-4 {
    width: 75%;
}
.lf-form-react .lf-form-react-input-2-3 {
    width: 66%;
}
.lf-form-react .lf-form-react-input-1-2 {
    width: 50%;
}
.lf-form-react .lf-form-react-input-1-3 {
    width: 33%;
}
.lf-form-react .lf-form-react-input-1-4 {
    width: 25%;
}

.lf-form-react-message {
    display: block;
    color: #666;
    font-size: 0.875em;
}
.lf-form-react-error-message {
  color: #FF3300;
  display: block;
  font-size: 0.875em;
}

.lf-form-react-primary-button {
  appearance: button;
  background-color: #1652F0;
  border: 1px solid #1652F0;
  border-radius: 4px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.15;
  overflow: visible;
  padding: 8px 16px;
  position: relative;
  text-align: center;
  text-transform: none;
  transition: all 80ms ease-in-out;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: fit-content;

  &:focus {
    outline: 0;
  }
  &:hover {
    background-color: #0A46E4;
    border-color: #0A46E4;
  }
  &:active {
    background-color: #0039D7;
    border-color: #0039D7;
  }
}

.lf-form-react-secondary-button {
  appearance: button;
  background-color: #999999;
  border: 1px solid #999999;
  border-radius: 4px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.15;
  overflow: visible;
  padding: 8px 16px;
  position: relative;
  text-align: center;
  text-transform: none;
  transition: all 80ms ease-in-out;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: fit-content;

  &:focus {
    outline: 0;
  }
  &:hover {
    background-color: #888888;
    border-color: #888888;
  }
  &:active {
    background-color: #888888;
    border-color: #888888;
  }
}

.lf-form-react {
  .lf-buttons {
    display: flex;
    button:not(:first-child) {
      margin-left: 10px;
    }
  }
}